.container {
  padding: 24px;
  min-height: 100vh;
}

.title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #fa541c;
}

.content {
  max-width: 1400px;
}

.inputSection {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.input {
  flex: 1;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #d9d9d9;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;

  &:focus {
    border-color: #1890ff;
  }
}

.sendButton {
  padding: 12px 24px;
  font-size: 16px;
  background: #1890ff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;

  &:hover {
    background: #40a9ff;
  }

  &:active {
    background: #096dd9;
  }
}

.danmakuContainer {
  position: relative;
  width: 100%;
  height: 600px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #333;
}

.danmakuItem {
  position: absolute;
  font-size: 20px;
  font-weight: bold;
  white-space: nowrap;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  animation: danmakuMove 10s linear forwards;
  pointer-events: none;
  z-index: 10;
  left: 100%;
}

@keyframes danmakuMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 100vw));
  }
}

